<h1>Update Post</h1>

<form action="/posts/update">
  <input type="hidden" name="id" value="<%= post.id %>"/>
  <input type="text" name="post[title]" value="<%= post.title %>"/><p>
  <textarea rows="10" cols="30" name="post[body]" id=""><%= post.body %></textarea><p>
  <button type="submit">Update</button>
</form>